//
//  Tile.h
//  IssuesGame
//
//  Created by Selah Ben-Haim on 10/13/09.
//  Copyright 2009 Regents of the University of Minnesota
//

#import <Foundation/Foundation.h>
#import "Constants.h"


@interface Tile : NSObject {
	NSString *status;
	NSString *question;
	NSMutableArray *answers;
	NSString *perspective;
	NSString *imagePath;
	NSMutableDictionary *dict;
	int answer;
	BOOL isQuestionTile;
}

@property (readonly) NSString *status;
@property (retain) NSString *question;
@property (readonly) NSArray *answers;
@property (readonly) int answer;

@property (readonly) NSString *perspective;
@property (readonly) NSString *imagePath;
@property (readonly) BOOL isQuestionTile;

- (id)initWithTileDictionary:(NSMutableDictionary *)tileDictionary andPerspectiveDictionary:(NSDictionary *)perspectiveDictionary;

- (void)correctlyAnswered;
- (void)incorrectlyAnswered;
- (void)resetStatus;

@end
